package com.seehope.treeset;

import java.util.TreeSet;

public class TestPerson {

	public static void main(String[] args) {
		TreeSet set = new TreeSet();
		set.add(new Person("Smith", 19));
		set.add(new Person("Johnson", 19));
		set.add(new Person("Mike", 22));
		set.add(new Person("Johnson ", 18));
		System.out.println(set);

	}

}
